/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.upn.sigemfi.vfi.beans;

import edu.upn.sigemfi.seg.be.PersonaNatural;
import edu.upn.sigemfi.vfi.bc.PersonaDelegate;

/**
 *
 * @author Alex
 */
public class PersonaController {

    private PersonaDelegate delegadoPersonaNatural;
    private PersonaNatural personaNatural;

      public PersonaController() {
        delegadoPersonaNatural = new PersonaDelegate();
    }



     public PersonaNatural buscar(Long codigo) {
        try {
            return delegadoPersonaNatural.buscarPersonaNatural(codigo);
        } catch (Exception e) {
           e.getMessage();
        }
        return null;
    }

}
